package com.ehome.poct.backend.start;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableDiscoveryClient
@ComponentScan(basePackages = {"com.ehome.*"})
@EnableFeignClients(value = "com.ehome.*")
@Slf4j
public class BackendApplication {

    public static void main(String[] args) {
        log.info("### Spring boot Application start ...");
        SpringApplication.run(BackendApplication.class,args);
        log.info("### Spring boot Application ok ...");
    }
}
